package com.cssy.yd.logic.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * 数据对象
 * @since 2013-08-26
 */
public class LogicMaterialReturnDO implements Serializable {

	private static final long serialVersionUID = -5147464927524155124L;
	
	/**
	 * column logic_material_return.id
	 */
	private String id;
	
	/**
	 * column logic_material_return.deptcode  部门编码
	 */
	private String deptCode;
	
	/**
	 * column logic_material_return.mareturncode  退料单编号（TL-YYYY-MM-DD-不少于4为流水号）
	 */
	private String mareturnCode;
	
	/**
	 * column logic_material_return.tlreason   退料原因（启用，改为用备注记录）
	 */
	private String tlReason;
	
	/**
	 * column logic_material_return.tlstatus  退料状态
	 */
	private Integer tlStatus;
	
	/**
	 * column logic_material_return.tldate  退料时间
	 */
	private Date tlDate;
	
	/**
	 * column logic_material_return.billstatus  单据状态
	 */
	private Integer billStatus;
	
	/**
	 * column logic_material_return.whcode  仓库编码
	 */
	private String whCode;
	
	/**
	 * column logic_material_return.whname  仓库名称
	 */
	private String whName;
	
	/**
	 * column logic_material_return.batch  批次
	 */
	private String batch;
	
	/**
	 * column logic_material_return.agent  退料经办人
	 */
	private String agent;
	
	/**
	 * column logic_material_return.remark   备注（记录退料原因）
	 */
	private String remark;
	
	/**
	 * column logic_material_return.creatername  制单人
	 */
	private String createrName;
	
	/**
	 * column logic_material_return.available  是否可用：0可用，1不可用
	 */
	private Integer available;
	
	/**
	 * column logic_material_return.dcruser  创建人
	 */
	private String dcruser;
	
	/**
	 * column logic_material_return.dctime  创建时间
	 */
	private Date dctime;
	
	/**
	 * column logic_material_return.duuser  修改人
	 */
	private String duuser;
	
	/**
	 * column logic_material_return.dutime  修改人
	 */
	private Date dutime;
	
	/**
	 * column logic_material_return.removed  是否删除：0未删除，1删除
	 */
	private Integer removed;
	
	/**
	 * column logic_material_return.version  版本号
	 */
	private Integer version;
	
	private Integer versionbt;

	public LogicMaterialReturnDO() {
		super();
	}

	public LogicMaterialReturnDO(String id, String deptCode,
			String mareturnCode, String tlReason, Integer tlStatus,
			Date tlDate, Integer billStatus, String whCode, String whName,
			String batch, String agent, String remark, String createrName,
			Integer available, String dcruser, Date dctime, String duuser,
			Date dutime, Integer removed, Integer version) {
		this.id = id;
		this.deptCode = deptCode;
		this.mareturnCode = mareturnCode;
		this.tlReason = tlReason;
		this.tlStatus = tlStatus;
		this.tlDate = tlDate;
		this.billStatus = billStatus;
		this.whCode = whCode;
		this.whName = whName;
		this.batch = batch;
		this.agent = agent;
		this.remark = remark;
		this.createrName = createrName;
		this.available = available;
		this.dcruser = dcruser;
		this.dctime = dctime;
		this.duuser = duuser;
		this.dutime = dutime;
		this.removed = removed;
		this.version = version;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getDeptCode() {
		return deptCode;
	}

	public void setDeptCode(String deptCode) {
		this.deptCode = deptCode;
	}

	public String getMareturnCode() {
		return mareturnCode;
	}

	public void setMareturnCode(String mareturnCode) {
		this.mareturnCode = mareturnCode;
	}

	public String getTlReason() {
		return tlReason;
	}

	public void setTlReason(String tlReason) {
		this.tlReason = tlReason;
	}

	public Integer getTlStatus() {
		return tlStatus;
	}

	public void setTlStatus(Integer tlStatus) {
		this.tlStatus = tlStatus;
	}

	public Date getTlDate() {
		return tlDate;
	}

	public void setTlDate(Date tlDate) {
		this.tlDate = tlDate;
	}

	public Integer getBillStatus() {
		return billStatus;
	}

	public void setBillStatus(Integer billStatus) {
		this.billStatus = billStatus;
	}

	public String getWhCode() {
		return whCode;
	}

	public void setWhCode(String whCode) {
		this.whCode = whCode;
	}

	public String getWhName() {
		return whName;
	}

	public void setWhName(String whName) {
		this.whName = whName;
	}

	public String getBatch() {
		return batch;
	}

	public void setBatch(String batch) {
		this.batch = batch;
	}

	public String getAgent() {
		return agent;
	}

	public void setAgent(String agent) {
		this.agent = agent;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getCreaterName() {
		return createrName;
	}

	public void setCreaterName(String createrName) {
		this.createrName = createrName;
	}

	public Integer getAvailable() {
		return available;
	}

	public void setAvailable(Integer available) {
		this.available = available;
	}

	public String getDcruser() {
		return dcruser;
	}

	public void setDcruser(String dcruser) {
		this.dcruser = dcruser;
	}

	public Date getDctime() {
		return dctime;
	}

	public void setDctime(Date dctime) {
		this.dctime = dctime;
	}

	public String getDuuser() {
		return duuser;
	}

	public void setDuuser(String duuser) {
		this.duuser = duuser;
	}

	public Date getDutime() {
		return dutime;
	}

	public void setDutime(Date dutime) {
		this.dutime = dutime;
	}

	public Integer getRemoved() {
		return removed;
	}

	public void setRemoved(Integer removed) {
		this.removed = removed;
	}

	public Integer getVersion() {
		return version;
	}

	public void setVersion(Integer version) {
		this.version = version;
	}

	public Integer getVersionbt() {
		return versionbt;
	}

	public void setVersionbt(Integer versionbt) {
		this.versionbt = versionbt;
	}
	
}
